package com.haizhi.crm.biz.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

/**
 * 公司（客户）
 * Created by yangyijun on 2018/6/4.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CompanyAdvancedSearchQo {
    @ApiModelProperty(value = "企业类型：true行内；false行外" )
    private boolean isCustomer;

    @ApiModelProperty(value = "注册时间搜索开始时间" )
    private String regDateFrom;

    @ApiModelProperty(value = "注册时间搜索结束时间" )
    private String regDateTo;

    @ApiModelProperty(value = "注册资本搜索" )
    private String regAmountFrom;

    @ApiModelProperty(value = "注册资本搜索" )
    private String regAmountTo;

    @ApiModelProperty(value = "机构类型" )
    private String institutionType;

    @ApiModelProperty(value = "经济类型" )
    private String economicType;

    @ApiModelProperty(value = "注册省份" )
    private String regProvince;

    @ApiModelProperty(value = "行业门类" )
    private String industry;

    @ApiModelProperty(value = "经营状态" )
    private String state;

    @ApiModelProperty(value = "是否上市：true上市；false未上市" )
    private boolean isListedCompany;

    @ApiModelProperty(value = "注册日期排序字段，可选值：asc|desc，默认desc" )
    private String regDateOrder = "desc";

    @ApiModelProperty(value = "注册资金排序字段，可选值：asc|desc，默认desc" )
    private String regAmountOrder = "desc";

    @ApiModelProperty(value = "当前页，默认值为1" )
    @Min(value = 1)
    private Integer pageNo = 1;

    @ApiModelProperty(value = "每页显示记录数，默认值为10" )
    @Min(value = 1)
    private Integer pageSize = 10;
}
